.orderPre {
  .floating-button {
    position: fixed; /* 将按钮定位在页面上 */
    bottom: 80px; /* 距离页面底部的距离 */
    right: 20px; /* 距离页面右边的距离 */
    width: 46px; /* 按钮的宽度 */
    line-height: 20px;
    text-align: center;
    padding: 4px;
    // height: 50px; /* 按钮的高度 */
    background-color: #fe8106; /* 按钮的背景色 */
    color: white; /* 文字颜色 */
    border-radius: 10px; /* 使按钮变成圆形 */
    font-size: 14px;
    opacity: 0.8;
  }
  .history {
    img {
      vertical-align: top;
      display: block;
      width: 100%;
    }
  }
  .origin {
    text-decoration: line-through;
    color: #b7bcb8 !important;
    font-weight: normal !important;
  }
  .banner {
    padding-top: 0.95rem;
    img {
      // width: 17.0rem;
      width: 102%;
      margin-left: -1%;
    }
  }
  .productInfo {
    background: #ffffff;
    box-shadow: 0 0.1rem 0.2rem 0 rgba(0, 0, 0, 0.1);
    margin-top: 0.65rem;
    .title {
      padding: 0.75rem 0.6rem;
      border-bottom: 0.05rem solid #e3e9ec;
      p {
        font-size: 0.8rem;
        color: #4a4a4a;
        line-height: 1.3rem;
      }
    }
    .detailBox {
      padding: 0.6rem 0.35rem;
      .detail {
        display: flex;
        .thumb {
          img {
            width: 3.9rem;
            margin-right: 0.35rem;
          }
        }
        li.inline {
          // display: flex;
          // align-items: center;
          // flex-wrap:nowrap;
        }
        li {
          font-size: 0.6rem;
          color: #000;
          line-height: 1.05rem;
          span {
            font-size: 0.65rem;
            font-weight: bold;
          }
        }
      }
      .slogen {
        font-size: 0.7rem;
        color: #fe8106;
        letter-spacing: 0.1rem;
        line-height: 1.05rem;
        text-align: center;
      }
    }
  }
  .discountInfo {
    background-image: url("http://cdn.gee4.cn/zw-wx/wx-vue-img-v2/img/discount-header.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 100%;
    margin-top: 0.75rem;
    box-shadow: 0 0.1rem 0.2rem 0 rgba(0, 0, 0, 0.1);
    background-color: #fff;
    .slogen {
      font-size: 0.7rem;
      color: #fe8106; // letter-spacing: 0.1rem;
      // line-height: 1.05rem;
      // text-align: center;
      // padding-bottom: .35rem;
    }
    .title {
      width: 100%;
      height: 2.7rem;
      line-height: 2.7rem;
      font-size: 0.8rem;
      color: #fff;
      padding-left: 1rem;
      p {
        font-weight: bold;
      }
    }
    .detail {
      padding: 0.5rem 0.8rem;
      ul {
        li {
          font-size: 0.6rem;
          color: #4a4a4a;
          display: flex;
          align-items: center;
          flex-wrap: nowrap;
          img {
            width: 0.75rem;
            vertical-align: middle;
            margin-right: 0.5rem;
          }
          span.strong {
            font-size: 0.7rem;
            font-weight: bold;
          }
        }
      }
    }
  }
  .purchaseNum {
    box-shadow: 0 0.1rem 0.2rem 0 rgba(0, 0, 0, 0.1);
    height: 2.7rem;
    margin-top: 0.75rem;
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    padding: 0 0.6rem;
    margin-bottom: 0.75rem;
    background-color: #fff;
    p {
      font-size: 0.8rem;
      color: #4a4a4a;
      line-height: 1.3rem;
      font-weight: bold;
    }
    img {
      width: 1.2rem;
    }
    input {
      width: 3rem;
      font-size: 1rem;
      color: #4a4a4a;
      height: 1.2rem;
      line-height: 1.2rem;
      vertical-align: top;
      text-align: center;
    }
  }
  .p-type {
    font-size: 0.7rem;
    margin-left: 1rem;
    border: 1px solid #fe8106;
    color: #fe8106;
    padding: 2px 0.5rem;
    border-radius: 1rem;
    &.active {
      color: #ffffff;
      background-color: #fe8106;
    }
  }
}

.orderLayout {
  background-color: #f6f6f6;
  height: 100%;
  display: flex;
  flex-direction: column;
  .content {
    flex-grow: 1;
    overflow: scroll;
    padding: 0 0.95rem;
    // background-image: url("http://cdn.gee4.cn/zw-wx/wx-vue-img-v2/img/header-bg.png");
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-attachment: local;
    background-position-y: -0.15rem;
  }
  .fixnav {
    background: #fff;
    height: 2.7rem;
    width: 100%;
    display: flex;
    align-items: center;
    flex-shrink: 0;
    .info {
      flex-grow: 1;
      display: flex;
      justify-content: space-between;
      padding: 0 0.8rem 0 1.55rem;
      align-items: center;
      span {
        font-size: 0.8rem;
        color: #4a4a4a;
        line-height: 1.3rem;
        font-weight: bold;
      }
      li.amount {
        font-size: 1rem;
        color: #000000;
        text-align: right;
        span {
          font-size: 0.8rem;
          color: #4a4a4a;
        }
      }
      li.tips {
        font-size: 0.6rem;
        color: #fe8106;
        text-align: right;
      }
    }
    .btn {
      width: 5.25rem;
      flex-shrink: 0;
      background: #fe8106;
      height: 2.7rem;
      color: #fff;
      text-align: center;
      line-height: 2.7rem;
    }
  }
}

.box {
  box-shadow: 0 0.1rem 0.2rem 0 rgba(0, 0, 0, 0.1); // height: 2.7rem;
  background: #fff;
  margin-top: 0.8rem;
  margin-bottom: 0.8rem;
  p {
    padding: 0.75rem 0 0.75rem 0.75rem;
    font-family: PingFangSC-Medium;
    font-size: 0.8rem;
    color: #4a4a4a;
    line-height: 1.3rem;
    .buy30 {
      background: #fd7d6a;
      border-radius: 4px;
      margin-left: 0.5rem;
      color: #fff;
      padding: 0.25rem;
    }
  }
}

.popup-alert {
  width: 90%;
  height: 80%;
  padding: 6px 6px 60px 6px;
  border-radius: 10px;
  .modal-c {
    overflow-y: scroll;
    height: 100%;
    position: relative;
  }

  .main-t {
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
  }
  .sub-t {
    font-size: 0.8rem;
  }
  .sub-sub-t {
    font-size: 1rem;
    font-weight: 400;
  }
  .mt10 {
    margin-top: 0.5rem;
  }
  .mt20 {
    margin-top: 1rem;
  }
  .p1 {
    text-indent: 1em;
    font-size: 0.7rem;
  }

  .sign {
    position: absolute;
    bottom: 0px;
    left: 50%;
    transform: translate(-50%, -0%);
    .submit {
      background: #fe8106;
      box-shadow: 0 0.5rem 0.7rem 0 rgba(254, 129, 6, 0.49);
      border-radius: 2rem;
      color: #fff;
      width: 10rem;
      margin: 1rem auto;
      margin-bottom: 1rem;
      text-align: center;
      font-size: 0.8rem;
      line-height: 2rem;
      margin-top: 0.85rem;
    }
  }
}
